﻿/*
* @Author: yy
* @Date:   2017-05-03 16:21:56
* @Last Modified by:   yy
* @Last Modified time: 2017-09-26 10:39:20
*/
.hide{
  display: none;
}
::-webkit-input-placeholder{
  color: #f00;
}
:-moz-placeholder { 
　　color: #999;
}
::-moz-placeholder { 
    color: #999;
}
:-ms-input-placeholder {
　　color: #999;
}
.icon{
  display: inline-block;
  vertical-align: middle;
}
.center{
  text-align: center;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.mainBg{
    background-color: #ff6688;
    color: #fff;
}
.mainColor{
    color: #ff6688;
}
.bottomFixed{
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
}
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    position: absolute;
}
.scrollBox::-webkit-scrollbar-thumb {
    background: #ccc;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ccc;
    position: absolute;
}
textarea{
  border: none;
  outline: none;
  background-color: transparent;
}
.font12{
  font-size: 12px;
}
.abs{
  position: absolute;
}
.rlt{
    position: relative;
}
.clearfix:after{
    content: '';
    display: block;
    clear: both;
    height: 0;
}
.row-h40{
  line-height: 40px;
  height: 40px;
}
.row-h44{
  line-height: 44px;
  height: 44px;
}
.borderRadiu2px{
  border-radius: 2px;
}
.mainButton{
  width: 100%;
  border-radius: 2px;
  display: block;
  color: #fff;
  text-align: center;
  background-color: #ff6688;
  line-height: 40px;
  height: 40px;
}
.ellipsis{
    /*width:180px;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.page{
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.flex{
  display: -webkit-flex;
  display: flex;
}
.tc{
  text-align:center!important;
}
.p10{
  padding:10px!important;
}
.brand_color{
  color:#FF6688!important;
}
.f12{
  font-size:12px!important;
}
.f14{
  font-size:14px!important;
}
.cgry{
  color:#999;
}
u.jt {
    content: " ";
    background: url(../Images/icon_arrow.svg) no-repeat center center;
    background-size: 8px;
    display: inline-block;
    height: 14px;
    width: 8px;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right:10px;
    -webkit-transition: -webkit-transform .35s ease-out;
    transition: transform .35s ease-out;
}
u.jt.trans{
  transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
}
.borderTop, .borderLeft, .borderRight, .borderBottom,.border1px,.border1pxgray{
  position: relative;
}
.borderTop:before {
  content: "";
  border-top: 1px solid #d9d9d9;
  height: 0px;
  line-height: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: scaleY(0.5);
  -webkit-transform-origin: 0 0;
  transform: scaleY(0.5);
  transform-origin: 0 0;
}
.borderBottom:before {
  content: "";
  border-bottom: 1px solid #d9d9d9;
  height: 0px;
  line-height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  -webkit-transform: scaleY(0.5);
  -webkit-transform-origin: 0 0;
  transform: scaleY(0.5);
  transform-origin: 0 0;

}
.borderLeft:after {
  content: "";
  border-left: 1px solid #d9d9d9;
  height: 0px;
  line-height: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -webkit-transform: scaleX(0.5);
  -webkit-transform-origin: 0 0;
  transform: scaleX(0.5);
  transform-origin: 0 0;
}
.borderRight:after{
  content: "";
  border-left: 1px solid #d9d9d9;
  height: 0px;
  line-height: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  -webkit-transform: scaleX(0.5);
  -webkit-transform-origin: 100% 0;
  transform: scaleX(0.5);
  transform-origin: 100% 0;
}
.border1px:after{
    content: "";
    border: 1px solid #FD567C;
    box-sizing: border-box;
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    height: 200%;
    width: 200%;
    border-radius:2px;
    -webkit-transform: scale(0.5);
    -webkit-transform-origin: 0 0;
    transform: scale(0.5);
    transform-origin: 0 0;
}
.border1pxgray:after{
  content: "";
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    height: 200%;
    width: 200%;
    border-radius:2px;
    -webkit-transform: scale(0.5);
    -webkit-transform-origin: 0 0;
    transform: scale(0.5);
    transform-origin: 0 0;
}
.buy-wrap{
	 position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: #fff;
    z-index:2;
} 
.buy-tohome {
    position: relative;
    width: 55px;
    height: 48px;
    float: left;
    display: block; 
    background-image:url();
    background-image: url(../Images/icon_home.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 23px;
}
.subscription {
    background-color: #FF6688;
    margin-left: 55px;
    color: #fff;
    font-size:16px;
    line-height: 48px;
    text-align: center;
    display: block;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}
.fixmask {
    height:65px;
    text-align:center;
    padding-top:15px;
    color:#aaa;
    font-size:12px;
}
input[type=checkbox],input[type=radio]{
    -webkit-appearance: none;
    border: 0 none;
    width: 18px;
    height: 18px;
    border-radius:50%;
    vertical-align: middle;
    background-color: #f2f1ef;
    position:relative;
}
input[type=checkbox]:after,input[type=radio]:after{
    content:"";
    position:absolute;
    left:5px;
    top:6px;
    display:block;
    width:8px;
    height: 4px;
    border:1px solid #fff;
    border-width:0 0 1px 1px;
    transform:rotate(-50deg);
    -webkit-transform:rotate(-50deg);
}
input[type=checkbox]:checked,input[type=radio]:checked{
    background-color: #FD567C;
}
.select{
    border: 1px solid #FF6688!important;
    color: #fff!important;
    background: #FFADBF!important;
}
/*.select:before {
    width:9px;
    height:9px;
    content: ''; 
    position: absolute;
    right: 0;
    bottom:0;
    background:url(../Images/select.png) no-repeat center;
    background-size:9px;
    -webkit-background-size:9px;
}*/
input[type=checkbox].switch {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 40px;
  height: 24px;
  border-radius: 20px;
  background: #ccc;
  position: relative;
  transition: all .2s ease-out;
}
input[type=checkbox].switch:after {
    position: absolute;
    content: "";
    left: 1px;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transform: translate(0,-50%);
    transform: translate(0,-50%);
}
input[type=checkbox].switch:checked{
  background: #ff6688;
}
input[type=checkbox].switch:checked:after{
    left:17px;
    background: #fff;
}
/* 中间弹窗 */
.mask{
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  position:fixed;
  left:0;
  top:0;
}
.middle_alert{
    position:fixed;
    top:50%;
    left:8%;
    right:8%;    
    overflow:auto;
    background-color: #fff;
    z-index:2;
    opacity:0;
    transform:translate(0,-50%) scale(0);
    -webkit-transform:translate(0,-50%) scale(0);
    border-radius:3px;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.trans_atrt{
    transform:translate(0,-50%) scale(1);
    -webkit-transform:translate(0,-50%) scale(1);
    opacity:1;
}
.middle_alert span{
    display:inline-block;
    border: 1px solid #E5E5E5;
    border-radius: 2px; 
    text-align: center;
    position: relative;
    padding:3px 0;
    width:30%;
    margin-bottom:22px;
}
.middle_alert span:nth-child(3n-1){
    margin:0 3%;
}
.fix_taboo .tabootip{
    font-size: 12px;
    color: #999;
    margin-top:7px;
    margin-bottom:5px;
}
.middle_alert button{
    width:100%;
    height:48px;
    text-align:center;
    color:#fff;
    background:#FF6688;
    border:0;
}
.mask_calcle .cancel{
    width:50px;
    height:50px;
    background:url(../Images/cancel.svg) no-repeat;
    background-size:50px;
    -webkit-background-size:50px;
    position:fixed;
    left:50%;
    bottom:7vh;
    transform:translate(-50%,0); 
    transform:translate(-50%,0);
}

.alert{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height:60vh;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #dadada;
  z-index: 15;
  display: none;
  /* padding-bottom: 100px; */
}
.alert_top{
  padding: 15px 16px;
  font-size: 14px;
  color: #453B38;
  position:relative;
  font-weight:normal;
  background:#fff;
}
.alert_top dl dt img{
  width: 60px;
  height: 60px;
  border-radius: 2px;
}
.alert_top dl dd{
  padding-right:20px;
  padding-left:15px;
}
.product-toptit{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.alert_top:after{
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #231916;
  right: 24px;
  top: 14px;
  transform: translate(0,-50%);
  -webkit-transform: translate(0,-50%);
}
.alert_close span{
  content:'';
  position:absolute;
  width:1px;
  height:30px;
  background:#fff;
  left:11px;
  top:20px;
  z-index: 1;
} 
.cover .sale_out{
  padding-left:10px;
  height:270px;
    overflow-y: auto;
}
.cover .sale_out li{
  padding:10px 20px 10px 40px;
  font-size: 12px;
  color: #666666;
}
.cover .sale_out .sml_tit{
  top:10px;
  font-size:10px;
}
.alert_close{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    right:15px;
    background:#fff;
    top:-36px;
}
.alert_close:before {
    position: absolute;
    border: 1px solid #231916;
    border-radius: 3px;
    width: 13px;
    height: 0px;
    background: none;
    content: '';
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
    transform: translate(-50%,-50%) rotate(45deg);
}
.alert_close:after {
    position: absolute;
    border: 1px solid #231916;
    border-radius: 3px;
    width: 0px;
    height: 13px;
    background: none;
    content: '';
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
    transform: translate(-50%,-50%) rotate(45deg);
}
.flick-menu-mask{
    width: 100%;
    height: 120%;
    min-height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.5);
    z-index:10;
}

@media screen and (min-width: 960px){
	.page {
	    width: 640px;
	    margin: 0 auto;
	    box-shadow: 0 0 1px rgba(0,0,0,.2);
	    overflow: hidden;
	}
	.buy-wrap {
    position: fixed;
    width: 640px;
    left: 50%!important;
    margin-left: -320px;
	}
}
.spec-menu-show {
    -webkit-animation:spec-menu-move .5s 1 ease 0s;
    -moz-animation:spec-menu-move .5s 1 ease 0s;
    -ms-animation:spec-menu-move .5s 1 ease 0s;
    -o-animation:spec-menu-move .5s 1 ease 0s;
    animation:spec-menu-move .5s 1 ease 0s;

}
.spec-menu-hide {
  -webkit-animation: spec-menu-back .5s 1 ease 0s;
  -moz-animation: spec-menu-back .5s 1 ease 0s;
  -ms-animation: spec-menu-back .5s 1 ease 0s;
  -o-animation: spec-menu-back .5s 1 ease 0s;
  animation: spec-menu-back .5s 1 ease 0s
}
@-webkit-keyframes spec-menu-move {
    0%{
      transform:translateY(100%) 
     }
  100% {
    transform:translateY(0) 
  }
}
@keyframes spec-menu-move {
  0% {
   transform:translateY(100%) 
  }

  100% {
   transform:translateY(0) 
  }
}
@-webkit-keyframes spec-menu-back {
  0% {
   transform:translateY(0) 
  }

  100% {
   transform:translateY(100%) 
  }
}
@keyframes spec-menu-back {
  0% {
   transform:translateY(0) 
  }

  100% {
   transform:translateY(100%) 
  }
}
u.jt.pay_current {
  margin-top: 3px;
  -webkit-transition: -webkit-transform .35s ease-out;
  transition: transform .35s ease-out;
  transform: rotate(-90deg) !important;
  -webkit-transform: rotate(-90deg) !important;
}

.g-poupBox-show{
    -webkit-animation: showBoxAnimate .35s ease;
    animation: showBoxAnimate .35s ease; 
    display: block !important;
}
@-webkit-keyframes showBoxAnimate {
    0% {
    -webkit-transform:scale(0.2)
    }
    100% {
    -webkit-transform:scale(1)
    }
}
@-moz-keyframes showBoxAnimate {
    0% {
    -moz-transform:scale(0.2)
    }
    100% {
    -moz-transform:scale(1)
    }
}
@keyframes showBoxAnimate {
    0% {
    transform:scale(0.2)
    }
    100% {
    transform:scale(1)
    }
}
@media only screen and (min-device-width: 320px)and (-webkit-min-device-pixel-ratio: 2) {
    /* 针对iPhone 4, 5c,5s, 所有iPhone6的放大模式，个别iPhone6的标准模式 */
  .alert{height:82vh;}
}
@media only screen and (min-device-width: 375px)and (-webkit-min-device-pixel-ratio: 2) {
    /* 针对大多数iPhone6的标准模式 */
  .alert{height:82vh;}
}
  
@media only screen and (min-device-width: 375px)and (-webkit-min-device-pixel-ratio: 3) {
  /* 针对所有iPhone6+的放大模式 */
  .alert{height:75vh;}
}
@media only screen and (min-device-width:412px) and (-webkit-min-device-pixel-ratio: 3) {
  /* 针对所有iPhone6+的标准模式,414px写为412px是由于三星Nexus 6为412px，可一并处理 */
  .alert{height:70vh;}
}